<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/Date}" method="post">
日期1<input type="date" name="start">
日期2<input type="date" name="end">
<input type="submit" value="提交">
<input type="text" th:attr="value=${date}">
</form>

</body>
</html>